<?php 
$template_type = get_post_type(get_the_ID());

include 'custom_' . $template_type . '.php';
?>
